package com.yang.springboot.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.yang.springboot.service.IStudentService;
import org.springframework.stereotype.Component;

/**
 * 暴露接口服务
 *
 * @author yanwei.yang
 * @date 2021/11/24 17:28
 * @description:
 */
@Component
@Service(interfaceClass = IStudentService.class, version = "1.0.0", timeout = 15000)
public class StudentServiceImpl implements IStudentService {
    /**
     * 查询学生总人数
     *
     * @return Integer
     */
    @Override
    public Integer queryAllStudentCount() {
        return 1000;
    }
}
